const util = {
  replace: (data, moduleName, moduleText) => {
    console.log(moduleName, moduleText);
    return data
      .replace(/\{\{moduleName\}\}/g, moduleName)
      .replace(/\{\{moduleText\}\}/g, () => moduleText);
  }
};

module.exports = util;
